<?php
// this is another example showing how the dPFramework is working
// additionally we will have an easy database connection here

// as we are now within the tab box, we have to state (call) the needed information saved in the variables of the parent function
GLOBAL $AppUI, $canRead, $canEdit;

if (!$canRead) {			// lock out users that do not have at least readPermission on this module
	$AppUI->redirect( "m=public&a=access_denied" );
}
//prepare an html table with a head section
?>
<table width="100%" cellspacing="0" cellpadding="7" border="0" class="infopanel">
<tbody>
	<tr>
		<td colspan="100">
			<div id="mdIndexView">
				<ul class="tree">
					<li><span class="a"><span class="b"><span class="c"><a href="" >Status</a></span></span></span></li>
					<li><span class="a"><span class="b"><span class="c"><a href="" >Type</a></span></span></span></li>
					<li><span class="a"><span class="b"><span class="c"><a href="" >Unit</a></span></span></span></li>
					<li><span class="a"><span class="b"><span class="c"><a href="" >Currency</a></span></span></span></li>
					<li><span class="a"><span class="b"><span class="c"><a href="" >Transportation</a></span></span></span></li>
					<li><span class="a"><span class="b"><span class="c"><a href="" >Item</a></span></span></span></li>
					<li class="last"><span class="a last"><span class="b"><span class="c"><a href="" >Price list</a></span></span></span></li>
				</ul>
			</div>
		</td>
	</tr>
</tbody>
</table>